#include "queue.h"

void testList()
{
	mySpace::queue<int> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	cout << q.size() << endl;
	cout << q.back() << endl;
	while (!q.empty())
	{
		cout << q.front() << endl;
		q.pop();
	}
}

int main()
{
	testList();
	return 0;
}